package com.vpen.account.demo.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 用户确实表，一个用户多个角色，一对多(AccountUserRole)表实体类
 *
 * @author vpen
 * @since 2022-08-16 09:48:59
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class AccountUserRole extends Model<AccountUserRole> {

    private Long userId;

    private Integer roleId;
}

